/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.classicmodels.model;

import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement;


/**
 *
 * @author cursojava
 */
public class CustomerDAO {


   public static Customer[] all() {
        //select * from customers;
       Connection c = Datasource.getconnection();
       Statement s = (Statement) c.createStatement();
       s.executeQuery("select * from customers ");
   }
   
   // TAREA resultset ordenado por customerNumber
   
   
   
/*
    public static void save(Customer customer) {
*/  //  }

/*    public Customer get(int CustomerNumber) {
    }*/
}
